from django.db import models


class Team(models.Model):
    # 加入一下三行代码
    class Meta:
        # 设置student的别名
        verbose_name = '球队'
        verbose_name_plural = '很多球队'

    t_name = models.CharField("球队名字", max_length=30, null=True)
    t_city = models.CharField("所处城市", max_length=30, null=True)
